<template>
  <br />
  <div>
    <z-slider id="test" v-model:value="value1" :disabled="disabled" />
    <z-slider v-model:value="value2" range :disabled="disabled" />
    Disabled:
    <z-switch v-model:checked="disabled" size="small" />
  </div>
</template>
<script>
import { defineComponent, ref } from 'vue'
export default defineComponent({
  setup() {
    const value1 = ref(0)
    const value2 = ref([20, 50])
    const disabled = ref(false)
    return {
      value1,
      value2,
      disabled
    }
  }
})
</script>
<style scoped>
.code-box-demo .ant-slider {
  margin-bottom: 16px;
}
</style>
